<?php

$this->Html->script(array('jquery.maskMoney.0.2','maskinputmoney','somente-numeros'), false);

echo '<fieldset><legend>Dados</legend>';

echo $this->Form->create('Enturmacao');
echo $this->Form->input('id');
echo $this->Form->input('ano', array('type' => 'text', 'label' => __('Ano'), 'class' => 'tamanho10', 'maxlength' => 4, 'onKeyPress' => 'return SomenteNumero(event)'));
echo '<div style="clear:both;"></div>';
echo $this->Form->input('tipo_serie_id',array('type' => 'select', 'options' => $series, 'empty' => 'Selecione...', 'class' => 'tamanho50', 'label' => __('Série')));
echo '<div style="clear:both;"></div>';
echo $this->Form->input('turma_id',array('type' => 'select', 'options' => $turmas, 'empty' => 'Selecione...', 'class' => 'tamanho50', 'label' => __('Turma')));
echo '<div style="clear:both;"></div>';
echo $this->Form->input('turno',array('type' => 'select', 'options' => $turnos, 'empty' => 'Selecione', 'class' => 'tamanho30', 'label' => __('Turno')));
echo '<div style="clear:both;"></div>';
echo $this->Form->input('disciplina_id',array('type' => 'select', 'options' => $disciplinas, 'empty' => 'Selecione...', 'class' => 'tamanho50', 'label' => __('Disciplina')));
echo '<div style="clear:both;"></div>';
echo $this->Form->input('professor_id',array('type' => 'select', 'options' => $professores, 'empty' => 'Selecione...', 'class' => 'tamanho50', 'label' => __('Professor')));
echo '<div class="botoes_form">';
echo $this->Form->button('Salvar', array('type' => 'submit'));
echo $this->Form->button('Voltar', array('type'=>'button', 'onClick' => "javascript:location='{$this->request->base}/{$this->request->controller}/index'"));
echo '</div>'; 
echo $this->Form->end();
echo '</fieldset>';